<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
    <h:form id="frmEditRss">
        <f:view>
            <p:dialog id="dlgEditRss"
                      widgetVar="wgEditRss"
                      header="Edit Rss"
                      draggable="true"
                      showEffect="fade"
                      hideEffect="clip">

                <h:panelGrid columns="2">
                    <h:outputLabel value="Rss Title :" for="rssDesciption" />
                    <h:inputText maxlength="20" required="true" requiredMessage="Rss title is not null" id="rssDesciption" value="#{rssManagement.selectRss.rssDesciption}" title="RssDesciption" />


                    <h:outputLabel value="Rss Link:" for="rssLink" />
                    <h:inputText maxlength="100" required="true" requiredMessage="Rss Link is not null" id="rssLink" value="#{rssManagement.selectRss.rssLink}" title="RssLink" />

                </h:panelGrid>


                <f:facet name="footer">
                    <p:commandButton  id="btnEditRss"
                                      value="Save"
                                      icon="ui-icon-check"
                                      style="margin:0"
                                      actionListener="#{rssManagement.edit}"
                                      update=":frmManagerRss:dtManagerRss,
                                      :growl"
                                      oncomplete="RssManagementRequest(xhr, status, args)"
                                      />
                    <p:commandButton id="btnCancelCreateRss"
                                     value="Cancel"
                                     icon="ui-icon-check"
                                     style="margin:0"
                                     onclick="wgEditRss.hide();"
                                     />
                </f:facet>
            </p:dialog>
        </f:view>
    </h:form>
</html>
